package com.ofps.forms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author pyn
 * @date 2022/5/6 - 21:16
 */
@Accessors(chain = true)
@Data
@TableName("sys_user")
public class MyUser implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long user_id;

    private Long dept_id;
    //用户名 登录时唯一表示 不可重复
    private String user_name;
    //用户密码  数据库存储加密值
    private String nick_name;

    private String password;
    //用户手机
    private String phonenumber;
    //用户邮箱
    private String email;
    //用户盐值 校验密码时使用
    //private String salt;
}
